<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div,h1,p{
            width: 50px;
            height: 20px;
            border: 1px solid red;
        }
        a,span{
            width: 50px;
            height: 50px;
            border: 1px solid red;
        }
        input{
            width: 200px;
            height: 50px;
        }

        .t1{
            display: block;
            width: 200px;
            height: 50px;
            background-color: skyblue;
            border-radius: 10px;
        }
        .detail{
            display: block;
            width: 100px;
            height: 40px;
            background-color: skyblue;
            border-radius: 30px 10px;
            text-align: center;
           /* 去掉下划线 */
            text-decoration: none;
            line-height: 40px;
            color: white;
            border: none;
        }
        .detail:hover{
            background:pink;
            color: green;
        }
    </style>

</head>
<body>
<h1>xiaoyi</h1>
<p>xiaoyi</p>
<a href="xiaoyi"></a>
<span>xiaoyi</span>
<input type="text">
<input type="text">

<a href="http://www.baidu.com" class="t1">百度</a>

<a href="tedu.cn" class="detail" target="_blank">查看详情</a>
</body>
</html>